<!-- search area   -->
<div class="row searchLineWrap">
	<form class="form-horizontal" method="post" action="${cxt!}/platform/operatorValidator/list" id="searchForm">
		  <div class="row">
		    <div class="col-md-5">
		      <div class="form-group">
		         <label  class="col-md-4 control-label">URL</label>
		         <div class="col-md-8">
		            <input type="text" class="form-control" name="operatorValidator.l_url" placeholder="URL" value="${paramMap['operatorValidator.l_url']}"/>
		         </div>
		       </div>
		    </div>

		    <div class="col-md-5">
		      <div class="form-group">
		         <label  class="col-md-4 control-label">${_res["systemManage.description"]}</label>
		         <div class="col-md-8">
		            <input type="text" class="form-control" name="operatorValidator.l_description" placeholder="${_res['systemManage.description']}" value="${paramMap['operatorValidator.l_description']}"/>
		         </div>
		       </div>
		    </div>	
		    
		    
		    <div class="col-md-2">
			    <div class="form-group">
			       <button type="button" class="btn btn-primary pull-left" onclick="ajaxForm('content','searchForm')">
			       <i class="fa fa-search m-l-sm m-r-xs"></i>${_res["system.search"]}</button>
			    </div>
		   </div>
	  </div>
	</form>
</div>
<!-- search area end  -->
<div class="row searchLineWrap">
	<% if(hasPrivilegeUrl("operatorValidatorAdd")){ %>
		<p><a href="javascript:void(0);" onClick="ajaxContent('/platform/operatorValidator/add/a');" class="btn btn-primary pull-left">${_res["systemManage.addValidator"]}</a><div class="clearfix"></div></p>
	<% } %>
	<table class="table table-striped table-bordered table-hover dataTables-example">
	    <thead>
	        <tr>
	            <th>URL</th>
	            <th>${_res["systemManage.validatorParam"]}/${_res["systemManage.rule"]}</th>
	            <th>${_res["systemManage.description"]}</th>
	            <th>${_res["systemManage.menuStatus"]}</th>
	            <th>${_res["system.operator"]}</th>
	        </tr>
	    </thead>
	    <tbody>
		    <% for(operatorValidator in splitPage.list!){ %>
		      <tr >
		            <td>${operatorValidator.url!}</td>
		            <td width="37%">
						<% for(operatorValidatorSetting in operatorValidator.operatorValidatorSettingList!){ %>
							${operatorValidatorSetting.field!}/${operatorValidatorSetting.rule!},
						<%}%>					
					</td>
					<td>${operatorValidator.description!}</td>
		            <td><#dict type="lable" value='${operatorValidator.status!}' dictCode="COMMON_STATUS"/></td>
		            <td>
		            	<% if(hasPrivilegeUrl("operatorValidatorView")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/platform/operatorValidator/view/${operatorValidator.id!}');">${_res["system.view"]}</button>
		               	<% } %>
		               	<% if(hasPrivilegeUrl("operatorValidatorEdit")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/platform/operatorValidator/update/e-${operatorValidator.id!}')">${_res["system.edit"]}</button>
		               	<% } %>
		               	<% if(hasPrivilegeUrl("operatorValidatorDelete")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxDelete('/platform/operatorValidator/delete/${operatorValidator.id!}')">${_res["system.delete"]}</button>
		            	<% } %>
		            </td>
		      </tr>
		     <% } %>
	    </tbody>
	</table>
	<div id="splitPageDiv">
		<#page formId="searchForm"  />
	</div>
	<#nav />
</div>	